package org.example.wine.boot.service;

import org.example.wine.boot.pojo.Result;
import org.example.wine.boot.pojo.User;

public interface UserService {

    Result register(String username, String password);

    User findByUsername(String username);

    Result login(String username, String password);
}
